package org.jeecg.modules.wlhy.fanyun.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.wlhy.fanyun.entity.FyUpDataShippingNoteDTO;
import org.jeecg.modules.wlhy.fanyun.entity.HyFyShipping;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: hy_fy_shipping
 * @Author: duanlikao
 * @Date:   2023-02-08
 * @Version: V1.0
 */
public interface IHyFyShippingService extends IService<HyFyShipping> {

    IPage<FyUpDataShippingNoteDTO> getFanyunUpDataPageList(Page<FyUpDataShippingNoteDTO> page,
                                                           QueryWrapper<FyUpDataShippingNoteDTO> queryWrapper);

    Result uploadFanyun(FyUpDataShippingNoteDTO fyUpDataShippingNoteDTO);

    HyFyShipping getByShippingId(String shippingId);

    boolean signOff0rder(List<String> orderNumbers);

    boolean cancelOrder(List<String> orderNumbers);

    boolean saveOrUpdateFyShipping(HyFyShipping hyFyShipping);
}
